package com.bw.service;

import com.bw.bean.Sugar;
import com.bw.bean.SugerDTO;
import com.bw.dao.SugarDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SugarServiceImpl implements SugarService{
    @Autowired
    SugarDao sugarDao;

    @Override
    public List<Sugar> getList1() {
        return sugarDao.getList1();
    }

    @Override
    public List<Sugar> getList2() {
        return sugarDao.getList2();
    }

    @Override
    public List<Sugar> getList3() {
        return sugarDao.getList3();
    }

    @Override
    public List<SugerDTO> getList4() {
        return sugarDao.getList4();
    }
}
